package com.maiworld.mapper;

import com.maiworld.pojo.TbConsume;
import com.maiworld.pojo.TbConsumeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbConsumeMapper {
    int countByExample(TbConsumeExample example);

    int deleteByExample(TbConsumeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbConsume record);

    int insertSelective(TbConsume record);

    List<TbConsume> selectByExample(TbConsumeExample example);

    TbConsume selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbConsume record, @Param("example") TbConsumeExample example);

    int updateByExample(@Param("record") TbConsume record, @Param("example") TbConsumeExample example);

    int updateByPrimaryKeySelective(TbConsume record);

    int updateByPrimaryKey(TbConsume record);
    
    List<TbConsume> selectByConsume(TbConsume consume);
}